module Base
{
	

	item DoubleBarrelShotgunSawnOff2
	
	{
        ImpactSound	=	null,
        MaxRange	=	8,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	ShotgunSawnOff2,
        SoundVolume	=	200,
        MinAngle	=	0.657,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	5,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	2.5,
        SplatNumber	=	5,
        PushBackMod	=	0.8,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	4,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	30,
        UseEndurance	=	FALSE,
        DisplayName	=	Sawn Off Double Barrel Shotgun,
        MinRange	=	0.67,
        SwingTime	=	2,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	SawnOffDoubleBarrelShotgunShoot,
		ClickSound = SawnOffDoubleBarrelShotgunJam,
        SoundRadius	=	200,
        MinDamage	=	2,
        MaxDamage	=	2.7,
        KnockdownMod	=	8,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	SawnOff,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 80,
        CritDmgMultiplier = 2,
        AimingPerkCritModifier = 4,
        HitChance = 80,
        AimingPerkHitChanceModifier = 5,
        RecoilDelay = 50,
        SoundGain = 2,
        ReloadTime = 25,
        AimingTime = 20,
        RequiresEquippedBothHands = TRUE,
        BreakSound  =   SawnOffDoubleBarrelShotgunBreak,
        MetalValue = 45,
        TwoHandWeapon = TRUE,
        AmmoBox = ShotgunShellsBox,
        MaxAmmo = 2,
		EquipSound = SawnOffDoubleBarrelShotgunEquip,
		UnequipSound = SawnOffDoubleBarrelShotgunUnEquip,
        InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo,
        EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo,
		InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart,
		InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop,
		EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart,
		EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop,
        ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall,
        AmmoType = Base.ShotgunShells,
        WeaponReloadType = doublebarrelshotgunsawn,
        JamGunChance = 0,
        AttachmentType = SawnOff,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
        StopPower = 40,
    }



/*
	recipe Saw Off Shotgun
	{
	   DoubleBarrelShotgun/DoubleBarrelShotgunSawnOff,
	   keep Saw,

	   Result:DoubleBarrelShotgunSawnOff2,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:Sawnoff_OnCreate,
	}
*/
  item VarmintRifleSawnOff
    {
       ImpactSound	=	null,
       MaxRange	=	6,
       WeaponSprite	=	ObrezV,
       SoundVolume	=	200,
       MinAngle	=	0.95,
       Type	=	Weapon,
       MinimumSwingTime	=	0.5,
       ToHitModifier	=	1.5,
       NPCSoundBoost	=	1.5,
       KnockBackOnNoDeath	=	TRUE,
       Ranged	=	TRUE,
       SwingAmountBeforeImpact	=	0,
       ProjectileCount	=	1,
       ConditionLowerChanceOneIn	=	60,
       Weight	=	2.5,
       SplatNumber	=	3,
       PushBackMod	=	0.3,
       SubCategory	=	Firearm,
       ConditionMax	=	10,
       ShareDamage	=	FALSE,
       MaxHitCount	=	1,
       IsAimedFirearm	=	TRUE,
       DoorDamage	=	20,
       UseEndurance	=	FALSE,
       SwingAnim	=	Rifle,
       DisplayName	=	Sawn Off MSR700 Rifle,
       MinRange	=	0.61,
       SwingTime	=	0.5,
       MultipleHitConditionAffected	=	FALSE,
       SwingSound	=	FirearmVarmintShot,
       SoundRadius	=	150,
       MinDamage	=	0.6,
       MaxDamage	=	1.3,
       SplatSize	=	3,
       KnockdownMod	=	2,
       SplatBloodOnNoDeath	=	TRUE,
       Icon	=	Obrez,
       RunAnim	=	Run_Weapon2,
       IdleAnim	=	Idle_Weapon2,
       CriticalChance = 25,
       CritDmgMultiplier = 8,
       AimingPerkCritModifier = 12,
       HitChance = 27,
       AimingPerkHitChanceModifier = 17,
       AimingPerkMinAngleModifier = 0.01,
       AimingPerkRangeModifier = 2,
       RecoilDelay = 90,
       PiercingBullets = TRUE,
       SoundGain = 2,
       ReloadTime = 25,
       AimingTime = 30,
       RequiresEquippedBothHands = TRUE,
       BreakSound  =   BreakMetalItem,
       MetalValue = 45,
       TwoHandWeapon = TRUE,
       AmmoBox = 223Box,
       MaxAmmo = 3,
       InsertAmmoSound = BulletInRifle,
       EjectAmmoSound = Stormy9mmClipEject,
       RackSound = BulletOutVarmint,
       AmmoType = Base.223Bullets,
       WeaponReloadType = boltaction,
/*       ModelWeaponPart = FiberglassStock HuntingKnife none bayonet,*/
       ModelWeaponPart = x2Scope VarmintRifleScope,
       ModelWeaponPart = x4Scope VarmintRifleScope,
       ModelWeaponPart = x8Scope VarmintRifleScope,
       RackAfterShoot = TRUE,
       MagazineType = Base.223Clip,
       JamGunChance = 5,
       AttachmentType = SawnOff,
    }

    item HuntingRifleSawnOff
    {
        ImpactSound	=	null,
        MaxRange	=	6,
        WeaponSprite	=	ObrezH,
        SoundVolume	=	200,
        MinAngle	=	0.95,
        Type	=	Weapon,
        MinimumSwingTime	=	0.5,
        ToHitModifier	=	1.5,
        NPCSoundBoost	=	1.5,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        SwingAmountBeforeImpact	=	0,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	2.5,
        SplatNumber	=	3,
        PushBackMod	=	0.3,
        MaxDamage	=	2,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	20,
        UseEndurance	=	FALSE,
        SwingAnim	=	Rifle,
        DisplayName	=	Sawn Off MSR788 Rifle,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	FirearmHunterShot,
        SoundRadius	=	150,
        MinDamage	=	1.2,
        SplatSize	=	3,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	Obrez,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        CriticalChance = 30,
        CritDmgMultiplier = 10,
        AimingPerkCritModifier = 15,
        HitChance = 25,
        AimingPerkHitChanceModifier = 15,
        AimingPerkMinAngleModifier = 0.01,
        AimingPerkRangeModifier = 3,
        RecoilDelay = 100,
        PiercingBullets = TRUE,
        SoundGain = 2,
        ReloadTime = 25,
        AimingTime = 40,
        RequiresEquippedBothHands = TRUE,
        BreakSound  =   BreakMetalItem,
        MetalValue = 45,
        TwoHandWeapon = TRUE,
        AmmoBox = 308Box,
        MaxAmmo = 3,
        InsertAmmoSound = BulletInRifle,
        EjectAmmoSound = Stormy9mmClipEject,
        RackSound = BulletOutVarmint,
        AmmoType = Base.308Bullets,
        WeaponReloadType = boltaction,
        ModelWeaponPart = x2Scope:HuntingRifleScope;x4Scope:HuntingRifleScope;x8Scope:HuntingRifleScope,
        RackAfterShoot = TRUE,
        MagazineType = Base.308Clip,
        JamGunChance = 5,
        AttachmentType = SawnOff,
    }

    fixing Fix Sawn Off Shotgun
    {
       Require : DoubleBarrelShotgunSawnOff,

       Fixer : DoubleBarrelShotgun; Aiming=2,
       Fixer : DoubleBarrelShotgunSawnOff; Aiming=2,
       Fixer : DoubleBarrelShotgunSawnOff2; Aiming=2,
    }


    fixing Fix Sawn Off Hunting Rifle
    {
       Require : HuntingRifleSawnOff,

       Fixer : HuntingRifle; Aiming=4,
       Fixer : HuntingRifleSawnOff; Aiming=4,
    }

    fixing Fix Sawn Off Varmint Rifle
    {
       Require : VarmintRifleSawnOff,

       Fixer : VarmintRifle; Aiming=4,
       Fixer : VarmintRifleSawnOff; Aiming=4,
    }
/*
recipe Saw Off Rifle
	{
	   VarmintRifle,
	   keep Saw,

	   Result:VarmintRifleSawnOff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:Sawnoff_OnCreate,
	}



recipe Saw Off Rifle
	{
	   HuntingRifle,
	   keep Saw,

	   Result:HuntingRifleSawnOff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:Sawnoff_OnCreate,
	}*/

}
